package com.ys.data.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.common.vo.MakeAppInfoVo;
import com.ys.data.entry.MakeAppInfo;

import java.util.List;


/**
* @version: V1.0
* @author: szw
* @className: MakeAppInfoService
* @packageName: MakeAppInfoService
* @description: 预约接口
* @data: 2021-1-22
**/ 
public interface MakeAppInfoService extends IService<MakeAppInfo> {

    /**
     * 新增预约
     * @param makeAppInfoVo
     * @return int
     */
    int save(MakeAppInfoVo makeAppInfoVo)throws Exception;


    /**
     * 更新预约信息
     * @param makeAppInfoVo
     * @return int
     */
    int update(MakeAppInfoVo makeAppInfoVo)throws Exception;

    /**
     * 查询预约详情信息
     * @param id
     * @return FeedbackInfo
     */
    MakeAppInfo findMakeAppInfoById(Long id)throws Exception;


    /**
     * 查询预约详情信息
     * @param queryWrapper
     * @return FeedbackInfo
     */
    List<MakeAppInfo> findMakeAppInfos(QueryWrapper<MakeAppInfo> queryWrapper);


    /**
     * 删除预约信息
     * @param id
     * @return
     */
    int delete(Long id)throws Exception;

    /**
     * 分页查询预约信息列表
     * @param page
     * @param makeAppInfoVo
     * @return IPage<FeedbackInfo>
     * @throws Exception
     */
    IPage<MakeAppInfo> makeAppInfoPage(Page<MakeAppInfo> page, MakeAppInfoVo makeAppInfoVo)throws Exception;
}
